package com.proxy.dynamic.self;

public class Client {

    public static void main(String[] args) {
        IMachineDao iMachineDao = new Gearing();
        iMachineDao = (IMachineDao)new Factory(iMachineDao).getMachineInstance();
        iMachineDao.startWorking();
        iMachineDao.finishWorking();
    }
}
